package com.fsj.admin.system.service.impl;

import com.fsj.admin.system.dao.ApiCashDao;
import com.fsj.admin.system.domain.ApiCashDO;
import com.fsj.admin.system.service.ApiCashService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class ApiCashServiceImpl implements ApiCashService {
	@Autowired
	private ApiCashDao apiCashDao;
	
	@Override
	public ApiCashDO get(Long id){
		return apiCashDao.get(id);
	}
	
	@Override
	public List<ApiCashDO> list(Map<String, Object> map){
		return apiCashDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return apiCashDao.count(map);
	}
	
	@Override
	public int save(ApiCashDO apiCash){
		return apiCashDao.save(apiCash);
	}
	
	@Override
	public int update(ApiCashDO apiCash){
		return apiCashDao.update(apiCash);
	}
	
	@Override
	public int remove(Long id){
		return apiCashDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return apiCashDao.batchRemove(ids);
	}
	
}
